import java.util.ArrayList;
import java.util.Random;


public class main {

	public static void main(String[] args) {
		ArrayList<cat> catlist = new ArrayList<cat>();
		cat cc=new cat("Mrs. Claws");
		catlist.add(cc);
		catlist.addAll(cc.haveBabies());
		System.out.println( cc.toString());
		
		for(int i=0; i<catlist.size(); i++ ){
			
			System.out.println(catlist.get(i).toString());
		}
		
		Random gen = new Random();
		int cattokill=gen.nextInt(catlist.size());
		catlist.get(cattokill).hitWithTruck();
		catlist.remove(cattokill);
		
		for(int i=0; i<catlist.size(); i++ ){
			
			System.out.println(catlist.get(i).toString());
		}
		
		
	}

}
